package com.whty.module.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.whty.common.base.BaseEntity;
import java.util.Date;

/**
 * 入库记录表 gh_depotHead
 * 
 * @author mario
 * @date 2018-10-31
 */
public class DepotHead extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Integer id;
	/** 入库批次号 */
	private String depotHeadNo;
	/** 入库时间 */
	private Date createTime;
	/** 入库数量 */
	private Integer amount;
	/** 明细文件名称 */
	private String itemFileName;
	/** 标签类型 */
	private String tagType;
	/** 起始序列号 */
	private String beginSerialNumber;
	/** 结束序列号 */
	private String endSerialNumber;
	/** 状态 */
	private String status;
	/** 当前序列号 */
	private String currentSerialNumber;
	/** 已使用数量 */
	private Integer usedAmount;
	/** 未使用数量 */
	private Integer unusedAmount;
	/** 更新时间 */
	private Date updateTime;
	/** 备注 */
	private String remark;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setDepotHeadNo(String depotHeadNo) 
	{
		this.depotHeadNo = depotHeadNo;
	}

	public String getDepotHeadNo() 
	{
		return depotHeadNo;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setAmount(Integer amount) 
	{
		this.amount = amount;
	}

	public Integer getAmount() 
	{
		return amount;
	}
	public void setItemFileName(String itemFileName) 
	{
		this.itemFileName = itemFileName;
	}

	public String getItemFileName() 
	{
		return itemFileName;
	}
	public void setTagType(String tagType) 
	{
		this.tagType = tagType;
	}

	public String getTagType() 
	{
		return tagType;
	}
	public void setBeginSerialNumber(String beginSerialNumber) 
	{
		this.beginSerialNumber = beginSerialNumber;
	}

	public String getBeginSerialNumber() 
	{
		return beginSerialNumber;
	}
	public void setEndSerialNumber(String endSerialNumber) 
	{
		this.endSerialNumber = endSerialNumber;
	}

	public String getEndSerialNumber() 
	{
		return endSerialNumber;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setCurrentSerialNumber(String currentSerialNumber) 
	{
		this.currentSerialNumber = currentSerialNumber;
	}

	public String getCurrentSerialNumber() 
	{
		return currentSerialNumber;
	}
	public void setUsedAmount(Integer usedAmount) 
	{
		this.usedAmount = usedAmount;
	}

	public Integer getUsedAmount() 
	{
		return usedAmount;
	}
	public void setUnusedAmount(Integer unusedAmount) 
	{
		this.unusedAmount = unusedAmount;
	}

	public Integer getUnusedAmount() 
	{
		return unusedAmount;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("depotHeadNo", getDepotHeadNo())
            .append("createTime", getCreateTime())
            .append("amount", getAmount())
            .append("itemFileName", getItemFileName())
            .append("tagType", getTagType())
            .append("beginSerialNumber", getBeginSerialNumber())
            .append("endSerialNumber", getEndSerialNumber())
            .append("status", getStatus())
            .append("currentSerialNumber", getCurrentSerialNumber())
            .append("usedAmount", getUsedAmount())
            .append("unusedAmount", getUnusedAmount())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
